package com.spider.object;

public class Test2 {
    public static void main(String[] args) {
        Student s1 = new Student();
        s1.name = "波妞";
        s1.chinese = 90;
        s1.math = 80;
        Student s2 = new Student();
        s2.name = "波仔";
        s2.chinese = 80;
        s2.math = 60;
        s1.getSum();
        s1.getAvg();
        s2.getSum();
        s2.getAvg();
    }
}
